<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8"></meta>
	<title>用户列表--layui后台管理模板</title>
	<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></meta>
	<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></meta>
	<meta HTTP-EQUIV="Expires" CONTENT="0"></meta>
	<link rel="stylesheet" th:href="@{/static/layui/css/layui.css}" media="all"> </link>
	<link rel="stylesheet" th:href="@{/static/css/font_eolqem241z66flxr.css}" media="all" > </link>
	<link rel="stylesheet" th:href="@{/static/css/news.css}"  media="all" > </link>
</head>
<body class="childrenBody">
	<blockquote class="layui-elem-quote news_search">
		<div class="layui-inline">
		    <div class="layui-input-inline">
		    	<input type="text" value="" placeholder="请输入关键字" class="layui-input search_input"></input>
		    </div>
		    <a class="layui-btn search_btn">查询</a>
		</div>
		<div class="layui-inline">
			<a class="layui-btn layui-btn-normal newsAdd_btn">添加用户</a>
		</div>
		<div class="layui-inline">
			<a class="layui-btn layui-btn-danger batchDel">批量删除</a>
		</div>
		<div class="layui-inline">
			<div class="layui-form-mid layui-word-aux"></div>
		</div>
	</blockquote>
	<div class="layui-form news_list">
		<form name="User" id="User">
			<table class="layui-table">
				<colgroup>
					<col width="50"></col>
				</colgroup>
				<thead>
					<tr>
						<th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose" id="allChoose"></input></th>
						<th>用户ID</th>
						<th>登录名</th>
						<th>真实姓名</th>
						<th>电话</th>
						<th>email</th>
						<th>部门ID</th>
						<th>是否锁定</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody class="news_content1">
					<tr th:each="user : ${list}">
						<td>
							<input name="checked" type="checkbox" lay-skin="primary" lay-filter="choose" th:value="${user.id}"></input>
							<div class="layui-unselect layui-form-checkbox" lay-skin="primary">
								<i class="layui-icon"></i>
							</div>
						</td>
						<td th:text="${user.id}"> </td>
						<td th:text="${user.username}"> </td>
						<td th:text="${user.name}"> </td>
						<td th:text="${user.telphone}"> </td>
						<td th:text="${user.email}"> </td>
						<td th:text="${user.deptid}"> </td>
						<td th:text="${user.locked}"></td>
						<td>
							<a class="layui-btn layui-btn-danger layui-btn-mini news_del"   th:value ="${user.id}" data-id="1"><i class="layui-icon" style="font-size: 30px; color: #write;">&#xe640;</i>删除</a>
							<a class="layui-btn layui-btn-mini news_edit" th:value="${user.id}"><i class="iconfont icon-edit"></i>修改</a>
							<a class="layui-btn layui-btn-mini user_empower" th:value="${user.id}"><i class="layui-icon" style="font-size: 30px; color: #write;">&#xe61f;</i>分配新角色</a>
							<a class="layui-btn layui-btn-mini qryExistRole" th:value="${user.id}"><i class="layui-icon" style="font-size: 30px; color: #write;">&#xe610;</i>已有角色</a>
						</td>
					</tr>

				</tbody>
			</table>
		</form>
	</div>
	<div id="page"></div>
	<script type="text/javascript" th:src="@{/static/layui/layui.js}"></script>
	<script type="text/javascript" th:src="@{/static/js/users.js}"></script>
</body> 
</html>